Present

data class Present(val animated: Boolean = true, val presentationStyle: <Error class: unknown class> = UIModalPresentationAutomatic, val transitionStyle: <Error class: unknown class> = UIModalTransitionStyleCoverVertical, val present: () -> <Error class: unknown class>, val completion: () -> Unit? = null) : NavigationSpec

Lets the parent present a UIViewController using UIViewController.presentViewController.

Parameters

animated

Specifies whether transition should be animated

presentationStyle

The UIModalPresentationStyle to present the viewcontroller in. Defaults to UIModalPresentationAutomatic

transitionStyle

The UIModalTransitionStyle to transition to. Defaults to UIModalTransitionStyleCoverVertical

present

Function to create the UIViewController to present

completion

Optional function to call when presentation has completed

Constructors

Link copied to clipboard
constructor(animated: Boolean = true, presentationStyle: <Error class: unknown class> = UIModalPresentationAutomatic, transitionStyle: <Error class: unknown class> = UIModalTransitionStyleCoverVertical, present: () -> <Error class: unknown class>, completion: () -> Unit? = null)

Properties

Link copied to clipboard
val animated: Boolean = true
Link copied to clipboard
val completion: () -> Unit? = null
Link copied to clipboard
val present: () -> <Error class: unknown class>
Link copied to clipboard
val presentationStyle: <Error class: unknown class>
Link copied to clipboard
val transitionStyle: <Error class: unknown class>